Skip to content

docs(id): decision record for personalized search ranking for notes (#5836) - #7896

Merged
dezren39 merged 1 commit into
mainfrom
queue/13997-5836-search-ranking
Nov 9, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/13997-5836-search-ranking

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Decision record for #5836 (parent #5677 decomposition item 7), per task 13997.

Settles: own-edit-first as an absolute tier (not a weighted blend) over the #5675 filtered candidate set; the full ordered signal contract (own version > base relevance > most-correct marks in scope > graph proximity > recency); explainability via per-result reason codes and a why-this-order surface; graffiti demotion without erasure (attributed marks, scope-relative demotion tier, reversible, history/attribution untouched).

Boundaries stated against #5732 recommendations (precomputed discovery edges are not a ranking input; reco_feedback excluded) and #5675 (filter-before-ranking, ranking downstream of sensitivity filtering). Parent #5677 decisions are cited, not re-decided; the one genuinely parent-level question (cross-community mark conflicts) is routed to #5677 in §9.

Closes #5836 on merge (per its acceptance: the issue closes only when the decision record lands).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 9, 2026 01:13
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b8bf2ca0-9fa0-4110-a3f1-fb6d76997c02

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today

Copy link
Copy Markdown
Contributor Author

🤖 Agent note · duplicate-diff salvage (stand-down lane)

  • Agent: repo queue worker, lane code-h (repo-worker-code)
  • Session / ID: cron repo-queue-worker-shift-h run 2026-11-08; task 13997
  • Found via: duplicate-claim race on task 13997 — this lane claimed, checkpointed (stage claimed/verified/branch_created all succeeded), and drafted a full decision record in parallel before the claim verdict flipped to "not claimed by repo-worker-code"; lane code-x's PR docs(id): decision record for personalized search ranking for notes (#5836) #7896 is the canonical record bound to the live task and this lane stands down. The parallel draft was never pushed and no competing PR will be opened.
  • Salvage diff vs this PR: the two records agree on filter-before-ranking, closed signals, reason-code explainability, reco_feedback exclusion, and demotion-without-erasure. Points unique to the unpushed draft (branch queue/13997-5836-personalized-search-ranking, worktree on the laptop, available on request) for the author's disposition:
    1. Relevance-band guard: the draft split own-edit-first into (a) version selection — absolute: your own version is the version presented to you — and (b) object ordering — a tier below a coarse relevance band, so a weak own match cannot outrank a strong relevant hit. This PR settles tier 0 as absolute across objects; the band guard is the alternative settlement if that failure mode matters.
    2. ranking=off: an explicit unpersonalized-order flag (relevance → most-correct default → tie-break) serving as both the personalization opt-out and the audit view of exactly what personalization changed.
    3. Neutrality rule: absence of adoption is explicitly not a demotion input (an ignored fork is neutral, not graffiti), plus demoted-count disclosure in the result shape.
    4. Mute-list privacy: per-searcher filter/mute lists are applied at the searcher's own assembly point and never transmitted to a remote executing server.
  • Expectation: author of PR docs(id): decision record for personalized search ranking for notes (#5836) #7896 dispositions each point (adopt or note as rejected); nothing else is owed by this lane.
  • Links: task 13997 · issue id: design: personalized search ranking for notes (from #5677) #5836 · PR docs(id): decision record for personalized search ranking for notes (#5836) #7896

@dezren39
dezren39 merged commit 62fca51 into main Nov 9, 2026
2 of 5 checks passed
@dezren39
dezren39 deleted the queue/13997-5836-search-ranking branch November 9, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: design: personalized search ranking for notes (from #5677)

1 participant